package com.wframe.project.jnd.services.impl;

import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.wframe.project.jnd.dao.HotwordDao;
import com.wframe.project.jnd.services.HotwordService;

@Service
public class HotwordServiceImpl implements HotwordService{

	@Autowired
	HotwordDao hotwordDao;
	
	public List<Map> queryHotword(int size){
		return hotwordDao.queryHotword(size).getList();
	}
}
